Skip to content

KAFKA-14004: Migrate streams module to JUnit 5 - Part 3#12302

Closed
clolov wants to merge 1 commit intoapache:trunkfrom
clolov:KAFKA-7342-TEMP-PART3
Closed

KAFKA-14004: Migrate streams module to JUnit 5 - Part 3#12302
clolov wants to merge 1 commit intoapache:trunkfrom
clolov:KAFKA-7342-TEMP-PART3

Conversation

@clolov
Copy link
Contributor

@clolov clolov commented Jun 16, 2022

This pull request addresses https://issues.apache.org/jira/browse/KAFKA-14004. It is the third of a series of pull requests which address the move of Kafka Streams tests from JUnit 4 to JUnit 5.

This pull request will be rebased on top of #12285 once it is merged. The file streams/src/test/java/org/apache/kafka/streams/integration/utils/IntegrationTestUtils.java is only added in this pull request for the build to succeed.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

.replace('=', '_');
}

public static String safeUniqueTestName(final Class<?> testClass, final TestInfo testInfo) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file streams/src/test/java/org/apache/kafka/streams/integration/utils/IntegrationTestUtils.java is only added in this pull request for the build to succeed. It will be removed once #12285 is merged.

import static org.junit.jupiter.api.Assertions.assertEquals;

@Category(IntegrationTest.class)
public class KStreamKStreamOuterJoinTest {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this test was not running before due to the lack of @category annotation.

import static org.junit.jupiter.api.Assertions.assertEquals;

@Category(IntegrationTest.class)
public class KStreamKStreamLeftJoinTest {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this test was not running before due to the lack of @category annotation.

@clolov
Copy link
Contributor Author

clolov commented Jul 11, 2022

Politely bumping for a review @cadonna

@mimaison
Copy link
Member

It looks like this has been done in https://issues.apache.org/jira/browse/KAFKA-15623. Closing.

@mimaison mimaison closed this Jun 27, 2024
@clolov clolov deleted the KAFKA-7342-TEMP-PART3 branch January 27, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants